import BaseService from "./BaseService";

/**
 * tencent auth service
 */
export default class MallService extends BaseService {

  constructor() {
    super();
  }

  /**
   * 返回list
   */
  load() {
    const url = `${this.host}/tencent-auth`;
    return this.get(url).then(data => data != '' ? data : Promise.reject('NO_AUTH_DATA'));
  }
}